import axios from '@/plugins/axios'

export function getAllArchives (params) {
  return axios.get('/api/archives', params)
}

export function getArchiveDetail (date, params) {
  return axios.get('/api/archives/' + date, params)
}
